package com.wx.springboot.step9back.service;

import com.wx.springboot.step9back.model.Role;

import java.util.List;
import java.util.Map;

public interface RoleService {
    List<Role> getRoleList();

    List<Role> getSelectList(Map<String, Object> data);

    int getSelectCount(Map<String, Object> data);

    Role getRoleById(Integer id);

    String addRole(Role role);

    int updateRole(Role role);

    int delRole(Role role);

    int updateState(Role role);

}
